﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace WodManager.Funcionality
{
    public static class VersionDetails
    {
        private const string VERSION = "0.0.0.0";
        public const string INFO = "WodManager version: " + VERSION;

        public static string GetVersionDetails()
        {
            Version vwodlib = AssemblyName.GetAssemblyName("WodLib.dll").Version;
            Version vwodman = Assembly.GetExecutingAssembly().GetName().Version;

            string versionInfo = "WoD Manager version:\t"
                + vwodman.ToString() + Environment.NewLine +
                "WoDLib version:\t\t" + vwodlib.ToString();
            return versionInfo;
        }
    }
}
